const TOKEN_KEY = "hm-vant-h5-token";

// 设置token     setToken('xxx')
export function setToken(token) {
  localStorage.setItem(TOKEN_KEY, token);
}

// 获取token    getToken()
export function getToken() {
  return localStorage.getItem(TOKEN_KEY);
}

// 移除token
export function removeToken() {
  localStorage.removeItem(TOKEN_KEY);
}
